import { Stock } from 'src/server/stock/entities/stock.entity';
import { ApiProperty, PartialType } from '@nestjs/swagger';

export class SearchDto extends PartialType(Stock) {
    @ApiProperty()
    page: number;

    @ApiProperty()
    pageSize: number;

    @ApiProperty()
    pId: string;

    @ApiProperty()
    // 0：商品入库 1：商品出库
    type: number;
}